Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Getting Viewer Information


Q3ViewerSetCurrentButton

You can use the Q3ViewerSetCurrentButton function to set the active button of a viewer pane.

OSErr Q3ViewerSetCurrentButton (
TQ3ViewerObject theViewer, 
unsigned long button);
theViewer
A viewer object.
button
A button.
DESCRIPTION
The Q3ViewerSetCurrentButton function sets the active button of the viewer object specified by the theViewer parameter to the button specified by the button parameter. You can use these constants to specify a button:

kQ3ViewerButtonCamera
kQ3ViewerButtonTruck
kQ3ViewerButtonOrbit
kQ3ViewerButtonZoom
kQ3ViewerButtonDolly

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996